package com.zf.yichat.service;

import com.zf.yichat.dto.NoticeDto;
import com.zf.yichat.model.NoticeView;
import com.zf.yichat.utils.response.FsPage;
import com.zf.yichat.utils.response.FsResponse;

/**
 * 一句话描述功能
 *
 * @author fengsong
 * @date create in 17:57 2020/3/19 2020
 */
public interface NoticeService {

    FsResponse selectList(FsPage page, Long userId);
    FsResponse selectListLast(  Long userId);



    void view(Long noticeId, Long userId);

    NoticeDto unviewCount(Long userId);

    NoticeView selectViewByUserId(Long noticeId, Long userId);

}
